unit DicActs;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  AbstDictionary, ActnList, Db, ExtCtrls, Grids, DBGrids, Buttons, SpisCnst;

type
  TfmActs = class(TfmAbstDictionary)
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  fmActs: TfmActs;

implementation
uses MainForm, ModifyActs;
{$R *.DFM}

procedure TfmActs.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  inherited;
  fmActs := nil;
end;

procedure TfmActs.FormCreate(Sender: TObject);
begin
  inherited;
  MandatoryField:='REG_N';
//  UniqueKeys:='CO.'+FN_CONTRACTOR_ID;
//  RegCode:=RI_CONTRAGENT;
  ModifyClass := TfmModifyActs;
//  PrintClass:=TfDic005;
//  UseOrigin:=True;
  setTableID(dtActs);
end;

end.
